<div class="container">
  <h1>flashdata()</h1>
  <p class="signature"> function flashdata(string $opening_html = null, string $closing_html = null): void </p>
  <h2>Description</h2>
  <div class="description">
    <p>Outputs a flash message stored in the session, wrapped in specified HTML tags.</p>
    <p>If no HTML tags are provided, it defaults to displaying the message within a paragraph tag with green color.</p>
  </div>
  <h2>Parameters</h2>
  <table>
    <thead>
      <tr>
        <th>Parameter</th>
        <th>Type</th>
        <th>Description</th>
        <th>Default</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>$opening_html</td>
        <td>string</td>
        <td>Optional. HTML tag(s) to wrap the flash message. If not provided, defaults to `&lt;p style="color: green;"&gt;`.</td>
        <td>null</td>
      </tr>
      <tr>
        <td>$closing_html</td>
        <td>string</td>
        <td>Optional. Closing HTML tag(s) if opening tag(s) are provided. If not provided, defaults to `&lt;/p&gt;`.</td>
        <td>null</td>
      </tr>
    </tbody>
  </table>
  <h2>Return Value</h2>
  <table>
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>void</td>
        <td>This function does not return anything. It directly outputs the flash message.</td>
      </tr>
    </tbody>
  </table>
  <h2>Example Usage</h2>
  <div class="example">
    <pre>
// Output flash message wrapped in custom HTML tags
flashdata('&lt;div class="alert alert-success"&gt;', '&lt;/div&gt;');

// Output flash message with default paragraph tags
flashdata();</pre>
  </div>
</div>
